home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
H001A.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-16
|
4KB
|
89 lines
ECHO OFF
ECHO .
ECHO ARCHIVE FILES
ECHO .
ECHO NOTE: These disks contain batch files to help with the unarchiving
ECHO process, these notes are for general information only!
ECHO .
ECHO Some disks contain files with a ARC or ZIP file extension. These
ECHO are special PACKED files, usually containing a number of smaller files.
ECHO They are used to save disk space. Before you can use 'Archived' programs
ECHO they need unpacking; you will need ARC.EXE, PKXARC.COM, ARCE.COM
ECHO or PKUNZIP.EXE for ZIP files. The procedure:- put new formatted disk in B,
ECHO put disk with unpacker program and the archive file in drive A, then
ECHO type as follows "B:<cr>" to log into drive B, then:-"A:ARC E A:XXXXXX<cr>"
ECHO (for ARC.EXE) or "A:ARCX A:XXXXXX<cr>" (substitute PKXARC etc where it
ECHO says ARCX if you have a different program), where XXXXXX is the name of
ECHO the file to be unpacked. The files will be extracted and put on the disk
ECHO in B: For further information on archives and how to use library disks
echo see inside the back cover of our catalogue. If you don't have one of our
echo catalogues you may obtain one by sending us 50p in postage stamps or 2
echo IRCs if you are not a UK resident.
ECHO -
pause
cls
ECHO -
ECHO You are about to unarchive some software from several floppy disks onto
ECHO your hard disk. Provided the displayed instructions are followed carefully
ECHO you should not experience any problems.
ECHO -
PAUSE
cls
if %2x==x goto NODRIVE
if %1x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C".
echo.
echo If the drive you want files to be copied to is not "%2", then press
echo Control-C to abort; otherwise,
pause
%2
cd\
if exist %2\GCC\*.* goto SKIP
md GCC
:SKIP
cd\GCC
copy %1t.com %2
copy %1runme1st.bat %2
%1pkunzip -d %1*
echo -
echo Insert Disk 2 of 4 and
pause
%1pkunzip -d %1*
echo -
echo Insert Disk 3 of 4 and
pause
%1pkunzip -d %1*
echo -
echo Insert Disk 4 of 4 and
pause
%1pkunzip -d %1*
cls
echo All Finished!!
goto END
:NODRIVE
echo **************************************************************************
echo ** **
echo ** - GNU C++ Compiler - **
echo ** **
echo ** To extract files, type INSTALL [source drive] [destination drive] **
echo ** **
echo ** For example, **
echo ** **
echo ** A:INSTALL A: C: **
echo ** **
echo ** will extract GNU C++ from drive A: to drive C: **
echo ** **
echo **************************************************************************
goto X
:END
echo **************************************************************************
echo ** **
echo ** The extracted document files can be viewed with the T.COM program **
echo ** pressing the ESC key to skip between files and X to exit to DOS. **
echo ** (for a full list of what T can do, press ? while viewing a file) **
echo ** **
echo **************************************************************************
:X
EXIT